public class math_1 {
    public static void main(String[] args) {
        double a=0.1;
        double b= 0.1;
        double c = 0.1;
        double d = a+b+c;
        System.out.println(d);
        if(a+b+c==0.3)
        {
            System.out.printf("等于0.3");
        }
        else
        {
            System.out.printf("不等于0.3");
        }
    }
}
